package cn.kgc.ubagnet.pojo;

public class CartPro {
    private Integer id;

    private String cartid;

    private Integer proid;

    private Double price;

    private Integer num;

    private Double totalprice;

    private Double proprice;

    private Integer userid;

    private String scrap1;

    private String scrap2;

    private String scrap3;

    private Integer checkt;

    private String proname;

    private String img1;

    private String color;

    private String size;

    private String explain;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCartid() {
        return cartid;
    }

    public void setCartid(String cartid) {
        this.cartid = cartid == null ? null : cartid.trim();
    }

    public Integer getProid() {
        return proid;
    }

    public void setProid(Integer proid) {
        this.proid = proid;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Double totalprice) {
        this.totalprice = totalprice;
    }

    public Double getProprice() {
        return proprice;
    }

    public void setProprice(Double proprice) {
        this.proprice = proprice;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getScrap1() {
        return scrap1;
    }

    public void setScrap1(String scrap1) {
        this.scrap1 = scrap1 == null ? null : scrap1.trim();
    }

    public String getScrap2() {
        return scrap2;
    }

    public void setScrap2(String scrap2) {
        this.scrap2 = scrap2 == null ? null : scrap2.trim();
    }

    public String getScrap3() {
        return scrap3;
    }

    public void setScrap3(String scrap3) {
        this.scrap3 = scrap3 == null ? null : scrap3.trim();
    }

    public Integer getCheckt() {
        return checkt;
    }

    public void setCheckt(Integer checkt) {
        this.checkt = checkt;
    }

    public String getProname() {
        return proname;
    }

    public void setProname(String proname) {
        this.proname = proname == null ? null : proname.trim();
    }

    public String getImg1() {
        return img1;
    }

    public void setImg1(String img1) {
        this.img1 = img1 == null ? null : img1.trim();
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color == null ? null : color.trim();
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size == null ? null : size.trim();
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain == null ? null : explain.trim();
    }

    @Override
    public String toString() {
        return "CartPro{" +
                "id=" + id +
                ", cartid='" + cartid + '\'' +
                ", proid=" + proid +
                ", price=" + price +
                ", num=" + num +
                ", totalprice=" + totalprice +
                ", proprice=" + proprice +
                ", userid=" + userid +
                ", scrap1='" + scrap1 + '\'' +
                ", scrap2='" + scrap2 + '\'' +
                ", scrap3='" + scrap3 + '\'' +
                ", checkt=" + checkt +
                ", proname='" + proname + '\'' +
                ", img1='" + img1 + '\'' +
                ", color='" + color + '\'' +
                ", size='" + size + '\'' +
                ", explain='" + explain + '\'' +
                '}';
    }
}